//
//  Setting_AboutUsTableViewCell.m
//  fxxiaoke
//
//  Created by 褚夫银 on 16/9/21.
//  Copyright © 2016年 jc. All rights reserved.
//

#import "Setting_AboutUsTableViewCell.h"

@implementation Setting_AboutUsTableViewCell

- (instancetype )initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if(self)
    {
        [self p_setupView];
    }
    
    return self;
}

- (void )p_setupView
{
    self.name = [[UILabel alloc] init];
    self.name.font = [UIFont systemFontOfSize:17.0f];
    self.name.textColor = [UIColor blackColor];
    [self.contentView addSubview:self.name];
    
    self.image_icon = [[UIImageView alloc] init];
    self.image_icon.image = [UIImage imageNamed:@"rigth-return.png"];
    [self.contentView addSubview:self.image_icon];

    self.view_line = [[UIView alloc] init];
    self.view_line.backgroundColor = [UIColor groupTableViewBackgroundColor];
    [self.contentView addSubview:self.view_line];
}

- (void )layoutSubviews
{
    [super layoutSubviews];
    
    self.name.frame = CGRectMake(15, 15, 200, 20);
    
    self.image_icon.frame = CGRectMake(SCREEN_WIDTH - 5 - 20, 15, 20, 20);
    
    self.view_line.frame = CGRectMake(0, 49, SCREEN_WIDTH, 1);
}





















@end
